
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGShaderParameterChunk.h>
#include <OpenSG/OSGShaderParameterChunkBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ShaderParameterChunk_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_ShaderParameterChunk()
{
    scope* osg_ShaderParameterChunkBase_scope = new scope(
    class_< osg::ShaderParameterChunkBase, bases< osg::StateChunk > , boost::noncopyable >("ShaderParameterChunkBase", no_init)
//        .def_readonly("ParametersFieldMask", &osg::ShaderParameterChunkBase::ParametersFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ShaderParameterChunkBase::MTInfluenceMask)
        .def("getClassType", &osg::ShaderParameterChunkBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ShaderParameterChunkBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ShaderParameterChunkBase::*)() )&osg::ShaderParameterChunkBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ShaderParameterChunkBase::*)() const)&osg::ShaderParameterChunkBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ShaderParameterChunkBase::getContainerSize)
        //.def("getParameters", (osg::ShaderParameterPtr& (osg::ShaderParameterChunkBase::*)(const osg::UInt32) )&osg::ShaderParameterChunkBase::getParameters, return_value_policy< copy_const_reference >())
        //.def("getParameters", (osg::MFShaderParameterPtr& (osg::ShaderParameterChunkBase::*)() )&osg::ShaderParameterChunkBase::getParameters, return_value_policy< copy_const_reference >())
        .def("getParameters", (const osg::MFShaderParameterPtr& (osg::ShaderParameterChunkBase::*)() const)&osg::ShaderParameterChunkBase::getParameters, return_value_policy< copy_const_reference >())
        .def("getBinSize", &osg::ShaderParameterChunkBase::getBinSize)
        .def("copyToBin", &osg::ShaderParameterChunkBase::copyToBin)
        .def("copyFromBin", &osg::ShaderParameterChunkBase::copyFromBin)
        .staticmethod("getClassType")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::ShaderParameterChunkBase::NextFieldId;
    scope().attr("ParametersFieldId") = (int)osg::ShaderParameterChunkBase::ParametersFieldId;

    delete osg_ShaderParameterChunkBase_scope;

    class_< osg::ShaderParameterChunk, bases< osg::ShaderParameterChunkBase > , boost::noncopyable, osg::ShaderParameterChunkRefPtr >("ShaderParameterChunk", no_init)
        .def("changed", &osg::ShaderParameterChunk::changed)
        .def("dump", &osg::ShaderParameterChunk::dump, osg_ShaderParameterChunk_dump_overloads_0_2())
        .def("setUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, bool) )&osg::ShaderParameterChunk::setUniformParameter)
        .def("setUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Int32) )&osg::ShaderParameterChunk::setUniformParameter)
        .def("setUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Real32) )&osg::ShaderParameterChunk::setUniformParameter)
        .def("setUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, const osg::Vec2f&) )&osg::ShaderParameterChunk::setUniformParameter)
        .def("setUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, const osg::Vec3f&) )&osg::ShaderParameterChunk::setUniformParameter)
        .def("setUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, const osg::Vec4f&) )&osg::ShaderParameterChunk::setUniformParameter)
        .def("setUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, const osg::Matrix&) )&osg::ShaderParameterChunk::setUniformParameter)
        .def("getUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, bool&) )&osg::ShaderParameterChunk::getUniformParameter)
        .def("getUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Int32&) )&osg::ShaderParameterChunk::getUniformParameter)
        .def("getUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Real32&) )&osg::ShaderParameterChunk::getUniformParameter)
        .def("getUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Vec2f&) )&osg::ShaderParameterChunk::getUniformParameter)
        .def("getUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Vec3f&) )&osg::ShaderParameterChunk::getUniformParameter)
        .def("getUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Vec4f&) )&osg::ShaderParameterChunk::getUniformParameter)
        .def("getUniformParameter", (bool (osg::ShaderParameterChunk::*)(const char*, osg::Matrix&) )&osg::ShaderParameterChunk::getUniformParameter)
        .def("subUniformParameter", &osg::ShaderParameterChunk::subUniformParameter)
    ;


    register_ptr_to_python<osg::ShaderParameterChunkPtr>();
    implicitly_convertible<osg::ShaderParameterChunkRefPtr, osg::ShaderParameterChunkPtr>();
    implicitly_convertible<osg::ShaderParameterChunkPtr, osg::StateChunkPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::ShaderParameterChunkPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ShaderParameterChunkPtr>);
}

